﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

public partial class ResponsePage : System.Web.UI.Page
{
    protected void Page_Load(object sender, EventArgs e)
    {
        // Mainly you will use this 2 

      //  Response.Write("Hello");

       // Response.Redirect("Default.aspx");

        // if (Request.QueryString["Comp"] != null)
        //{
        //    string Company = Request.QueryString["Comp"];
        //    lblCompany.Text = Company;
        //}

        //if (Request.QueryString["mod"] != null)
        //{
        //    string Model = Request.QueryString["mod"];
        //    LblModel.Text = Model;
        //}
    }
    protected void Write_Click(object sender, EventArgs e)
    {
        Response.Write(TxtWrite.Text);
    }

    protected void Go_Click(object sender, EventArgs e)
    {
        Response.Redirect(TxtUrlName.Text);

    }
   
    protected void Google_Click(object sender, EventArgs e)
    {
        Response.Redirect("http://www.google.com");
        
    }
          
    protected void Oracle_Click(object sender, EventArgs e)
    {
        Response.Redirect("http://www.oracle.com/index.html");
        
    }
    protected void MicroSoft_Click(object sender, EventArgs e)
    {
       Response.Redirect("http://www.microsoft.com");
        

    }

    protected void linux_Click(object sender, EventArgs e)
    {
        Response.Redirect("http://www.linux.org");
        
    }








    protected void Button1_Click(object sender, EventArgs e)
    {
        Response.Redirect("ResponsePage.aspx?Name=Aditi");
    }
    protected void Button2_Click(object sender, EventArgs e)
    {
        Response.Redirect("ResponsePage.aspx?Name=Aditi&LastName=Marathe");
    }
    protected void Button3_Click(object sender, EventArgs e)
    {
        Response.Redirect("ResponsePage.aspx?CellNo=9594027003");
    }
    protected void Button4_Click(object sender, EventArgs e)
    {
        Response.Redirect("ResponsePage.aspx?Address=Kalyan");
    }
}

  

